from django.conf.urls import url

from . import views

urlpatterns = [
    # 1. 首页 payment/(?P<order_id>\d+)/
    url(r'^payment/(?P<order_id>\d+)/$', views.PaymentView.as_view(),name="pay_ment"),

    # 2. 接收支付宝 支付成功的 id payment/status/
    url(r'^payment/status/$', views.PaymentStatusView.as_view(), name="pay_status"),

]
